﻿@inherits OperationDialogBase<DeviceDto,bool,IotLocalResource>
<Tabs DefaultActiveKey="0" TabPosition="@TabPosition.Left" Style="height: 100%;" OnChange="OnTabChange">
    <TabPane Key="Tcp" Tab="@("TCP")">
        <Descriptions Bordered Layout="@DescriptionsLayout.Horizontal" Column="1">
            <DescriptionsItem Title="@Localizer[nameof(IotLocalResource.Heartbeat)]">
                <Input @bind-Value="tcpPingContent"></Input>
            </DescriptionsItem>
            <DescriptionsItem Title="@Localizer[nameof(IotLocalResource.AuthenticationInformation)]">
                <TextArea @bind-Value="tcpConnectInfo" MinRows="2"></TextArea>
            </DescriptionsItem>
        </Descriptions>
    </TabPane>
    <TabPane Key="Mqtt" Tab=@("Mqtt")>
        <TextArea @bind-Value="mqttConnectInfo" MinRows="5">
        </TextArea>
    </TabPane>
</Tabs>